package com.wctj.api.business.huifu.enums;

/**
 * @author: lzg
 * @description: 证件类型，仅支持：00-身份证
 */
public enum HuiFuCertTypeEnums {
    IDENTITY_CARD("00","身份证"),

    ;

    private String code;
    private String msg;

    HuiFuCertTypeEnums(String code , String message) {
        this.code = code;
        this.msg = message;
    }


    public static HuiFuCertTypeEnums of(String name) {
        for (HuiFuCertTypeEnums apiCode : HuiFuCertTypeEnums.values()) {
            if (apiCode.name().equals(name)) {
                return apiCode;
            }
        }
        return null;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }
}

